@import "./less/theme.less";

Link*{
  margin: 0;
  padding: 0;
  list-style: none;
  box-sizing: border-box;
}
html, body{
  width: 100%;
  height: 100%;
}
img {
  width: 100%;
  height: 100%;}
body img {
  opacity: 1;
}

img {
  max-width: 100%;
  height: auto;
}

.wrapper {
  height: 100vh;
  min-height: 100vh;
   header {
    width: 100%;
    height: 64px;
    background-color: var(--bg);
    position: relative;
    transition: all .3s ease-in-out;
  }
  .context{
    width: 100%;
    display: flex;
    flex-direction: column;
  }
  .context
  .container {
    height: 100%;
    min-height: 100%;
    flex: 1;
  }
  .context
   footer{
    padding: 20px 0;
    border-top: 1px solid var(--border-color);
    color: #c1bdbd;
    background: var(--bg-footer);
    text-align: center;
  }
  .footer{
    width: 100%;
    height: 100%;
    transition: all .3s ease-in-out;
  }



  &>main {
    min-height: calc(100% - 64px);
    background: var(--bg-body);
    display: flex;
    flex-direction: column;

  }
}

.container {
  margin-right: auto;
  margin-left: auto;
  overflow: hidden;

}

@media (max-width: 768px) {
  .container {
    width: 100%;
    padding-right: 15px;
    padding-left: 15px;
  }

  .knowledgeRightDiv {
    display: none;
  }
  .article-left{
    width: 100%;
  }
  .app-category-left{
    width: 100%;
  }
  .article-right{
    display: none;
  }
}

@media (min-width: 768px) {
  .container {
    width: 768px
  }
}

@media (min-width: 992px) {
  .container {
    width: 970px
  }
}

@media (min-width: 1200px) {
  .container {
    width: 1140px
  }
}
